﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Diagnostics;

public partial class YHGL_RZCX : System.Web.UI.Page
{
  protected void Page_Load(object sender, EventArgs e)
  {

    if (!Page.IsPostBack)
    {
      if (!ProjectPrivate.GetQX("33"))
      {
        Server.Transfer("~\\blank.aspx");
      }
      date1.Date = CommonUse.GetYC();
      date2.Date = CommonUse.GetYM();
    }
    BindGrid();

  }

  protected void BindGrid()
  {
    DataSet ds = rzcz.GetRZ(date1.Text, date2.Text);
    ASPxGridView1.DataSource = ds;
    ASPxGridView1.DataBind();
  }

  protected void btnQuery_Click(object sender, EventArgs e)
  {

  }
}